home *** CD-ROM | disk | FTP | other *** search
/ Shareware Grab Bag / Shareware Grab Bag.iso / 090 / clocks.arc / CLOCK1.DOC < prev    next >
Text File  |  1986-07-19  |  3KB  |  73 lines

  1.                     Documentation for CLOCK Command
  2.  
  3.      Screen clock is a short machine language program that prints the
  4. day of the week,date,current time,and log-on time at the top of the screen
  5. no matter what else your computer is doing. Clock relys on BIOS to handle
  6. this has several fortunate consequences:
  7.  -   Sysline(clock) updates are not redirected to a file if you are using
  8.      DOS file redirection.
  9.  -   Sysline updates are not printed if you are echoing output to the printer
  10.      (but is printed if you press PrtSc for a screen dump.
  11.  -   Screen Clock always updates the current "active" screen. It doesn't
  12.      matter if you switch from monochrome monitor to color,change pages in the
  13.      color screens, or even enter a graphics mode. Clock will always be there.
  14.  
  15.      USING CLOCK
  16.  Just type in clock at the DOS prompt. A sysline similar to this will appear.
  17.  
  18.       Wed Jan 01,1986 12:01A (00:01)
  19.  
  20. The day of the week,date,and current time are self-explainatory. The figure in
  21. parentheses is the elasped time(in hours and minutes) since the clock command
  22. was started or reset.
  23.      When you run clock from DOS you can select various options by appending
  24. commands after typing CLOCK. Each command consists of a slash(/)symbol, a number
  25. and or character. Here are the commands and options:
  26.  
  27.      /Cn (Chime) where n is an integer from 0 to 3. /C0 means no chiming(the
  28.      default); /C1 makes clock chime hourly; /C2 chimes every half-hour,
  29.      and /C3 chimes every 15 minutes. Even if screen updates are turned off
  30.      Clock chimes as you told it to do.
  31.  
  32.      /Un (Update) where n is an interger from 1 to 9. This sets how often screen
  33.      updates take place - n is the number of half seconds between updates.
  34.      The more frequent the updates,the more the more often the time is refreshed
  35.      HOWEVER, more frequent updates also make other programs run slower.
  36.      The default is /U2 (one second between updates).
  37.  
  38.      /M (Military time). This selects Military (24 hour) time.
  39.  
  40.      /S (Standard time). This selects standard 12-hour time with A.M./P.M.
  41.      marker. This is the default.
  42.  
  43.      /R (Reset). This resets the logon timer. Screen clock resets itself to
  44.      00:00 when first run.
  45.  
  46.   For example, typing CLOCK /U3/M/C1 at the DOS prompt loads and runs clock,
  47. sets updates every 1 1/2 seconds,sets military time, and makes the clock chime
  48. ever hour.
  49.  
  50.      DISAPPEARING CLOCK
  51.  
  52.   Occasionally, clock's Sysline may get in the way(hiding text printed on the
  53. top line of the screen). You can make the time disappear by pressing:
  54.  
  55.      CTRL and BOTH SHIFT keys simultaneously.
  56.  
  57.   Pressing the combination again turns the Sysline back on.
  58.  
  59.   Since Screen Clock maintains its own clock, it might not agree with the DOS
  60. clock precisely. Generally, it's never more than 30 seconds off.
  61.   When you reset the system date or time type clock again to resync it.
  62.  
  63.   Clock steals time from the running program,so if you are running a program
  64. that is a heavy number cruncher you might want to turn the Sysline off to
  65. improve the performance of the program.
  66.  
  67.      This program and non abbrevated documentation appeared in the
  68.        April 1986 issue of Compute Magazine Page 107. Written by
  69.                        Marc Sugiyama
  70.  
  71.      This documentation and program was prepared for the CCLA network
  72.                     by S. Cunningham  6-12-86
  73.